var C = /** @class */ (function () {
    function C(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26, i27, i28, i29, i30, i31, i32, i33, i34, i35, i36, i37, i38, i39, i40, i41, i42, i43, i44, i45, i46, i47, i48, i49, i50, i51) {
        this.p1 = i1;
        this.p2 = i2;
        this.p3 = i3;
        this.p4 = i4;
        this.p5 = i5;
        this.p6 = i6;
        this.p7 = i7;
        this.p8 = i8;
        this.p9 = i9;
        this.p10 = i10;
        this.p11 = i11;
        this.p12 = i12;
        this.p13 = i13;
        this.p14 = i14;
        this.p15 = i15;
        this.p16 = i16;
        this.p17 = i17;
        this.p18 = i18;
        this.p19 = i19;
        this.p20 = i20;
        this.p21 = i21;
        this.p22 = i22;
        this.p23 = i23;
        this.p24 = i24;
        this.p25 = i25;
        this.p26 = i26;
        this.p27 = i27;
        this.p28 = i28;
        this.p29 = i29;
        this.p30 = i30;
        this.p31 = i31;
        this.p32 = i32;
        this.p33 = i33;
        this.p34 = i34;
        this.p35 = i35;
        this.p36 = i36;
        this.p37 = i37;
        this.p38 = i38;
        this.p39 = i39;
        this.p40 = i40;
        this.p41 = i41;
        this.p42 = i42;
        this.p43 = i43;
        this.p44 = i44;
        this.p45 = i45;
        this.p46 = i46;
        this.p47 = i47;
        this.p48 = i48;
        this.p49 = i49;
        this.p50 = i50;
        this.p51 = i51;
    }
    return C;
}());
function foo(obj) {
    // write properties
    obj.p1 = "object";
    obj.p2 = 1;
    obj.p3 = 2;
    obj.p4 = "object";
    obj.p5 = 1;
    obj.p6 = 2;
    obj.p7 = "object";
    obj.p8 = 1;
    obj.p9 = 2;
    obj.p10 = "object";
    obj.p11 = 1;
    obj.p12 = 2;
    obj.p13 = "object";
    obj.p14 = 1;
    obj.p15 = 2;
    obj.p16 = "object";
    obj.p17 = 1;
    obj.p18 = 2;
    obj.p19 = "object";
    obj.p20 = 1;
    obj.p21 = 2;
    obj.p22 = "object";
    obj.p23 = 1;
    obj.p24 = 2;
    obj.p25 = "object";
    obj.p26 = 1;
    obj.p27 = 2;
    obj.p28 = "object";
    obj.p29 = 1;
    obj.p30 = 2;
    obj.p31 = "object";
    obj.p32 = 1;
    obj.p33 = 2;
    obj.p34 = "object";
    obj.p35 = 1;
    obj.p36 = 2;
    obj.p37 = "object";
    obj.p38 = 1;
    obj.p39 = 2;
    obj.p40 = "object";
    obj.p41 = 1;
    obj.p42 = 2;
    obj.p43 = "object";
    obj.p44 = 1;
    obj.p45 = 2;
    obj.p46 = "object";
    obj.p47 = 1;
    obj.p48 = 2;
    obj.p49 = "object";
    obj.p50 = 1;
    obj.p51 = 2;
    // read properties
    var a1 = obj.p1;
    var a2 = obj.p2;
    var a3 = obj.p3;
    var a4 = obj.p4;
    var a5 = obj.p5;
    var a6 = obj.p6;
    var a7 = obj.p7;
    var a8 = obj.p8;
    var a9 = obj.p9;
    var a10 = obj.p10;
    var a11 = obj.p11;
    var a12 = obj.p12;
    var a13 = obj.p13;
    var a14 = obj.p14;
    var a15 = obj.p15;
    var a16 = obj.p16;
    var a17 = obj.p17;
    var a18 = obj.p18;
      var a19 = obj.p19;
    var a20 = obj.p20;
    var a21 = obj.p21;
    var a22 = obj.p22;
    var a23 = obj.p23;
    var a24 = obj.p24;
    var a25 = obj.p25;
    var a26 = obj.p26;
    var a27 = obj.p27;
    var a28 = obj.p28;
    var a29 = obj.p29;
    var a30 = obj.p30;
    var a31 = obj.p31;
    var a32 = obj.p32;
    var a33 = obj.p33;
    var a34 = obj.p34;
    var a35 = obj.p35;
    var a36 = obj.p36;
    var a37 = obj.p37;
    var a38 = obj.p38;
    var a39 = obj.p39;
    var a40 = obj.p40;
    var a41 = obj.p41;
    var a42 = obj.p42;
    var a43 = obj.p43;
    var a44 = obj.p44;
    var a45 = obj.p45;
    var a46 = obj.p46;
    var a47 = obj.p47;
    var a48 = obj.p48;
    var a49 = obj.p49;
    var a50 = obj.p50;
    var a51 = obj.p51;
}
function runAcc() {
    var c = new C("hello, 1", 1, 1, "hello, 2", 2, 0, "hello, 3", 3, 1, "hello, 4", 4, 0, "hello, 5", 5, 1, "hello, 6", 6, 0, "hello, 7", 7, 1, "hello, 8", 8, 0, "hello, 9", 9, 1, "hello, 10", 10, 0, "hello, 11", 11, 1, "hello, 12", 12, 0, "hello, 13", 13, 1, "hello, 14", 14, 0, "hello, 15", 15, 1, "hello, 16", 16, 0, "hello, 17", 17, 1);
    var start = new Date().getTime();
    for (var i = 0; i < 10000; ++i) {
        foo(c);
    }
    var end = new Date().getTime();
    var result = parseInt((end - start).toString());
    print(end - start)
}
runAcc();